<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script type="text/javascript" src="./js/promiseAjax.js"></script>
    <script>
        Ajax("http://localhost:8888/promise/php/user.php?name=向军").then(lesson => {
            Ajax(`http://localhost:8888/promise/php/houdunren.php?id=${lesson.id}`).then(info => {
                console.log(info);
            });
        });
    </script>
</body>
</html>